﻿<Page x:Class="RapidTutorialWPF.NameAndAddress"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="NameAndAddress" xmlns:rl="clr-namespace:Jalindi.RapidLayout;assembly=RapidLayout2009.Windows">
 <rl:RapidPanel Name="Panel" ShouldDebug="True" GuideDisplayMode="Design">
        <Label Content="Name" rl:RapidPanel.Horizontal="col=1,right" rl:RapidPanel.Vertical="row=name" VerticalAlignment="Center"></Label>
        <TextBox Name="name"  rl:RapidPanel.Horizontal="col=2"  rl:RapidPanel.Vertical="row=name"></TextBox>
        <Label Content="Address"  rl:RapidPanel.Horizontal="col=1,right" rl:RapidPanel.Vertical="row=addr" ></Label>
        <TextBox Name="address" rl:RapidPanel.Horizontal="col=2" rl:RapidPanel.Vertical="row=addr"></TextBox>
        <Label Content="City" rl:RapidPanel.Horizontal="col=1" rl:RapidPanel.Vertical="row=cityzip" HorizontalAlignment="Right"></Label>
        <TextBox Name="city" rl:RapidPanel.Horizontal="col=2" rl:RapidPanel.Vertical="row=cityzip" ></TextBox>
        <Label Content="Zip" rl:RapidPanel.Horizontal="col=2,left" rl:RapidPanel.Vertical="row=cityzip" ></Label>
        <TextBox Name="zip" rl:RapidPanel.Horizontal="col=2"
                 rl:RapidPanel.Vertical="row=cityzip" ></TextBox>
        <Button Name="Cancel" rl:RapidPanel.Horizontal="col=#span,e=buttons,a=right"
                rl:RapidPanel.Vertical="row=buttons,bottom" Padding="5,1"
                >Cancel</Button>
        <Button Name="Apply" rl:RapidPanel.Horizontal="col=#span,e=buttons,a=right"
                rl:RapidPanel.Vertical="row=buttons,bottom" Padding="5,1"
                >Apply</Button>
        <Button Name="OK" rl:RapidPanel.Horizontal="col=#span,e=buttons,a=right"
                rl:RapidPanel.Vertical="row=buttons,bottom" Padding="5,1"
                >OK</Button>
    </rl:RapidPanel>
</Page>
